{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>驾校网上报名系统</title>
    <link rel="stylesheet" href="{% static 'plugins/bootstrap-3.4.1/css/bootstrap.min.css' %}">
    <link rel="stylesheet" href="{% static 'css/index.css' %}" type="text/css" media="screen"/>
    <style>
        .navbar {
            border-radius: 0;
            background-color: #2e6da4;
            border: none;
            border-bottom: 1px solid #ccc;
            padding-bottom: 0px;
            margin-bottom: 0px;
        }

        /*控制导航栏drommenu背景颜色*/
        .navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:focus, .navbar-default .navbar-nav > .open > a:hover {
            color: #555;
            background-color: #2e6da4;
        }

        .nav .open > a, .nav .open > a:focus, .nav .open > a:hover {
            background-color: #7fc02f;
            border-color: #337ab7;
        }

        #menu ul {
            list-style: none;
            background: #32323A;
        }
    </style>
</head>
<body>
<!--顶部-->
<nav class="navbar navbar-default">
    <div class="container">
        <div class="navbar-header">
            <a class="navbar-brand" href="/indexadmin/" style="padding-bottom: 50px; color: white">驾校网上报名系统</a>
            <a href="/indexadmin/" class="navbar-brand" style="margin-left: 10px;color: white">首页</a>
            <!--下拉菜单-->
            <ul class="nav navbar-nav navbar-right" style="margin-left: 600px;">
                <li class="dropdown">
                    <!--显示当前用户名字-->
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                       aria-expanded="false" style="font-size: 20px;color: white">{{ request.session.info.name }} <span
                            class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="/Admin/info/">我的信息</a></li>
                        <!--画线-->
                        <li role="separator" class="divider"></li>
                        <li><a href="/logout/">退出</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
</nav>
<!--顶部结束-->
<!--菜单-->
<div class="left-menu">
    <ul id="menu">
        <li class="menu-list">
            <a style="cursor:pointer;text-align: center;" class="firsta">管理中心</a>
            <ul class="nav navbar-nav">
                <ul class="nav navbar-nav">
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                           aria-expanded="false">用户管理 <span class="caret"></span></a>
                        <ul class="dropdown-menu">
                            <li><a href="/Admin/useradd/">新建用户</a></li>
                            <li><a href="/Admin/userlist/">用户列表</a></li>
                        </ul>
                    </li>
                </ul>
                <ul class="nav navbar-nav">
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                           aria-expanded="false">分类管理 <span class="caret"></span></a>
                        <ul class="dropdown-menu">
                            <li><a href="/Admin/categoryadd/">新建分类</a></li>
                            <li><a href="/Admin/categorylist/">分类列表</a></li>
                        </ul>
                    </li>
                </ul>
                <ul class="nav navbar-nav">
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                           aria-expanded="false">套餐管理 <span class="caret"></span></a>
                        <ul class="dropdown-menu">
                            <li><a href="/Admin/goodsadd/">新建套餐</a></li>
                            <li><a href="/Admin/goodslist/">套餐列表</a></li>
                        </ul>
                    </li>
                </ul>
                <ul class="nav navbar-nav">
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                           aria-expanded="false">报名管理 <span class="caret"></span></a>
                        <ul class="dropdown-menu">
                            <li><a href="/Admin/orderlist/">报名列表</a></li>
                            <li><a href="/Admin/orderlistok/">报名成功列表</a></li>
                            <li><a href="/Admin/orderlistno/">报名失败列表</a></li>
                            <li><a href="/Admin/orderliststart/">待审核列表</a></li>
<<<<<<< HEAD
                        </ul>
                    </li>
                </ul>
                <ul class="nav navbar-nav">
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                           aria-expanded="false">报名日志 <span class="caret"></span></a>
                        <ul class="dropdown-menu">
                            <li><a href="/Admin/weeklist/">最近一周</a></li>
                            <li><a href="/Admin/monthlist/">最近一个月</a></li>
                            <li><a href="/Admin/yearlist/">最近半年</a></li>
=======
>>>>>>> f0eb04185cbc15f17a793618efb075babdcd937b
                        </ul>
                    </li>
                </ul>
            </ul>
        </li>
    </ul>
</div>
<div class="right-content">
    {% block adminlayout %}{% endblock %}
</div>
<script src="{% static 'js/jquery-3.6.0.min.js' %}"></script>
<script src="{% static 'plugins/bootstrap-3.4.1/js/bootstrap.min.js' %}"></script>
<script>
    function del() {
        var msg = "删除以后该用户的所有信息会被系统删除的,你确定删除吗？\n\n请确认！";
        if (confirm(msg) == true) {
            return true;
        } else {
            return false;
        }
    }

    function del1() {
        var msg = "你确定删除吗？\n\n请确认！";
        if (confirm(msg) == true) {
            return true;
        } else {
            return false;
        }
    }

    function edit() {
        var msg = "你确定修改吗？\n\n请确认！";
        if (confirm(msg) == true) {
            return true;
        } else {
            return false;
        }
    }

    function add() {
        var msg = "你确定新建吗？\n\n请确认！";
        if (confirm(msg) == true) {
            return true;
        } else {
            return false;
        }
    }
</script>
</body>
</html>